package com.freemarker.test;

public class HeaderService {
	 private static Header h = new Header();  
	    static{  
	        h.setAddress("地址");  
	        h.setCompanyName("公司名称");  
	    }  
	      
	    public static void update(String address,String companyName){  
	        h.setAddress(address);  
	        h.setCompanyName(companyName);  
	    }  
	      
	    public static Header getHeader(){  
	        return h;  
	    }  
}
